package cls.generictype

import cls.generictype.kmvp.LogActivity

/**
 * 泛型
 */
class Box<T>(t: T) {
    var value = t
}

data class Box1<T>(var t: T) {
}

fun main(args: Array<String>) {
    val box = Box(1)
    println(box.value)

    var box1 = Box1(102)
    println(box1)

    var logActivity = LogActivity()
    logActivity.onCreate()

}

